home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / UTILREEN / ZENO21.LZH / ZENO21.DOC < prev    next >
Text File  |  1989-01-23  |  8KB  |  158 lines

  1. Author's Documentation:
  2.  
  3. ZENO.COM:  M. Lazarus, June 11, 1986
  4.  
  5.           ZENO is a small, fast, core-resident program that
  6. speeds up certain screen writes.  The actual increase in speed is
  7. almost three-fold, but the increase you see on the screen depends
  8. on the application program in use.  An example:  with BCOMM
  9. operating at 9600 bps, the increase is approximately 20-30
  10. percent.  Only certain programs take advantage of ZENO; but those
  11. that don't (including PC-Write) are usually fast enough without
  12. it.
  13.  
  14.           ZENO reduces available memory by about 900 bytes.
  15.  
  16.           ZENO operates with all screens.  On some color screens,
  17. however, it may cause snow -- harmless but annoying.  If that
  18. happens, remove ZENO with the instructions below.
  19.  
  20.           Important:  Do not change back and forth between
  21. monochrome and color displays while ZENO is installed.  Users of
  22. monochrome graphics boards:  this includes you.
  23.  
  24.           To load:  At the DOS prompt, type ZENO.  A message will
  25. appear.
  26.  
  27.           To remove:  At the DOS prompt, type ZENO/K (use no
  28. spaces; must be capital K).  A message will appear.  Important:
  29. First remove all core-resident programs loaded after ZENO.
  30.  
  31. Additional Comments:
  32.  
  33.           (1)  ZENO, like many other fast screen programs,
  34. eliminates the wait for the retrace.  But ZENO also trys to speed
  35. up the BIOS routines in other ways as well.  For details, see the ASM
  36. listing.  Roughly speaking, ZENO assumes that the underlying
  37. program is trying to use the BIOS call in the most likely manner;
  38. it tests for that, and if the assumption is right, uses a faster
  39. method.  If ZENO's assumptions are wrong, the test of the
  40. assumption slows down ZENO's performance in comparison to a
  41. program that only eliminates the retrace delay.  Therefore, if
  42. the underlying program's use of INT 10 is extremely unusual,
  43. there may well be faster screen speedup programs faster than
  44. ZENO.  But that is likely to be true only of very rare programs.
  45.  
  46.           (2)  TEST.COM does nothing but a series of BIOS screen
  47. writes, counting timer interrupts.  It then writes out the number
  48. of timer interrupts that have elapsed.  Useful for comparing fast
  49. screen programs, although, obviously, it does not test them under
  50. all conditions.
  51.  
  52.           (3)  Comments and suggestions are best addressed to me,
  53. David Seidman, on Bob Blacher's bulletin board, 202-547-2008.
  54.  
  55. CHANGES by Ron Tansky:
  56. Fixes: ZENO would hang the computer if 40-character mode was used.  I
  57. modified the program to bypass the speed-up in 40-character mode.
  58. I also modified the program to accept /k or /K on the command line
  59. to kill ZENO.
  60.    Also changed message to say 'may cause snow', as the other message
  61. ('may cause interference') really worried some users.
  62.  
  63. Second set of changes by Ron Tansky:
  64. The first set of changes fixed the hang if 40-character mode turned on,
  65. but I later discovered that the ZENO speed-improvement was permanently
  66. turned off afterwards ('til next boot).  I also found out that the same
  67. was true for graphics mode with the original ZENO; i.e.  if you ever
  68. go into graphics mode, ZENO won't come back to speed afterwards.
  69. This set of changes fixes both of these problems.  ZENO goes to sleep
  70. during modes that it can't handle, but wakes back up and again
  71. speeds up 'normal' screen output.  I put a version number into the startup
  72. message (version 1.1), so that you can recognize this latest fix.
  73.  
  74. P.S.  I've tried to send the changed ZENO back to David Seidman,
  75. on Bob Blacher's bulletin board, 202-547-2008.  I've never been able to
  76. get anything but a busy signal.  If anyone knows another way to get these
  77. fixes back to the original author, we'd both appreciate it.
  78.  
  79. Changes by Chris Blum - CompuServe 76625,1041     1/28/87
  80.  
  81.      Added code to support TTY mode output ( AH = 0EH ). Needed because
  82. some clone BIOSs ( mine is DTK/ERSO ), do not update cursor position
  83. through BIOS call in this mode. Without the changes, ZENO loses its
  84. place in the display memory and the display goes out to lunch with some
  85. BIOS configurations. I tried to follow the technique and spirit of the
  86. existing code as much as possible. Updated version number ( now 1.2 ).
  87.  
  88. Changes by Lynn Ransdell                          5/29/87
  89.  
  90.      As written, ZENO versions 1.1 & 1.2 worked with all my software
  91. except KEDIT 3.51 (Mansfield Software Group, Storrs, CT).  I managed
  92. to circumvent the problem by changing the values loaded/tested in the
  93. AX register.  Former values were 00F0h,,, replacement values were
  94. FEFEh.  I made the assumption that KEDIT was sending the former values
  95. (for reasons unknown to me) and that ZENO was misinterpreting them as
  96. its signal to KILL itself.  I further assumed that the AX values might
  97. have been arrbitrarily chosen, and thus could be arbitrarily changed.
  98. So far, this has proven (with the software that I use) to be satis-
  99. factory, but may conflict with someone else's software.
  100.  
  101.      I have labeled this version as 1.3 in order to distinguish it
  102. from the prior versions.  I have not seen any other versions later
  103. that ver. 1.2.
  104.  
  105.      The program, ZENOTEST.COM, is included in the archive for
  106. comparing screen I/O speed before/after installing ZENO.  It is also
  107. useful for benchmarking different "ansi"-type video drivers.  The
  108. best combo I've found is NANSI286.SYS with ZENO13.
  109.  
  110. Changes by Glenn K. Smith    CompuServe 70357,1136    12/14/88
  111.  
  112.     ZENO 1.3 was just what the doctor ordered!  ZENO 2.0 is
  113. basically the same as the previous versions, however, this one has the
  114. ability to do snow checking.  I managed to get around the problem of
  115. snow by using some nifty code to put characters on the CGA screen.  The
  116. only cost in performance was a loss in speed. ZENO 2.0 runs around 2.5
  117. times slower with snow checking on than without.  This means that
  118. ZENOTEST on my computer went from 28 seconds to 67 seconds.  Its still
  119. faster than the 147 seconds that ZENOTEST records without ZENO being
  120. installed.
  121.  
  122.     I modified the program to handle a new switch (/S) for snow
  123. checking.  I also made a couple changes to the messages and to the NO
  124. ACTION message.  It now displays the valid switches.
  125.  
  126.      I have labeled this version as 2.0 in order to distinguish it
  127. from the prior versions.  I have not seen any other versions later
  128. that ver. 1.3.
  129.  
  130. Changes by Glenn K. Smith    CompuServe 70357,1136    01/15/89
  131.  
  132.     Oops, I guess ZENO wasn't done.  I had several complaints that
  133. PROCOMM+, Turbo Pascal and a few other programs wouldn't work right when
  134. ZENO (any version) was installed.  This turned out to be a problem on
  135. their part, not with ZENO.  Those programs modified the bios cursor
  136. without going through ZENO.  The kept track of the cursor location
  137. internally and stored the result when they were done.  As a result, ZENO
  138. was unaware that anything had happened.  The change was minor, I just
  139. used the bios cursor position and re-calculated a new screen offset 
  140. everytime a character was placed on the screen.  As a result, these 
  141. programs now work, however ZENOTEST now runs about 4 seconds slower.
  142.  
  143.     Good News!  A played with the snow checking code and was able to
  144. speed it up quite a bit.  ZENOTEST used to give me a reading of 66 
  145. seconds at 10 mhz.  The new code returns a value of 46 seconds.  Not
  146. too bad.  Only 12-13 seconds slower than without snow checking.
  147.  
  148.      I have labeled this version as 2.1 in order to distinguish it
  149. from the prior versions.  I have not seen any other versions later
  150. that ver. 2.0.
  151.  
  152. P.S. I've noticed that PROCOMM+ now runs quite a bit faster than it did 
  153. before.  When you have snow checking enabled, the program called bios to 
  154. place the characters on the screen.  Now ZENO does that.  You'll still 
  155. get snow if you disable snow checking in PROCOMM+ or with ZENO.
  156.  
  157.  
  158.